//
//  TopicEntity.m
//  Qzone
//
//  Created by zhangxy on 2018/6/28.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import "TopicEntity.h"

@implementation TopicEntity

- (instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super init];
    if (self) {
        self = [TopicEntity yy_modelWithDictionary:dictionary];
    }
    return self;
}


+ (NSDictionary<NSString *,id> *)modelCustomPropertyMapper
{
    return @{
             @"t_id" : @"id",
             @"title" : @"title",
             @"nav_type":@"nav_type",
             @"author":@"author",
             @"like_count":@"like_count",
             @"olike_count":@"olike_count",
             @"view_count":@"view_count",
             @"image_url":@"image_url",
             @"add_time":@"add_time"
             };
}

@end
